package beans;

import android.support.annotation.NonNull;

/**
 * Created by Administrator on 2018/5/7.
 */

public class SearchBean implements Comparable<SearchBean>{
    private String materialName;
    private String specification;
    private String supplier;
    private String unit;
    private String number;
    private String warnNumber;
    private int goodsInfoId;
    private String selectCabinet;

    public int getGoodsInfoId() {
        return goodsInfoId;
    }

    public void setGoodsInfoId(int goodsInfoId) {
        this.goodsInfoId = goodsInfoId;
    }

    public String getSelectCabinet() {
        return selectCabinet;
    }

    public void setSelectCabinet(String selectCabinet) {
        this.selectCabinet = selectCabinet;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getWarnNumber() {
        return warnNumber;
    }

    public void setWarnNumber(String warnNumber) {
        this.warnNumber = warnNumber;
    }

    @Override
    public int compareTo(@NonNull SearchBean o) {
        return this.selectCabinet.compareTo(o.selectCabinet);
    }
}
